package com.zhixiang.xaec.entity.safebase.equipments;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name = "safebase_Equipment")
@Comment("特种设备")
public class Equipment extends BaseEntity{
	
	 @Comment("设备出厂编号")
	 @Column(length=200)
	 private String equipmentCode; // 设备出厂编号
	    
	 @Comment("设备名称")
	 @Column(length=200)
	 private String equipmentName; // 设备名称
	    
	 @Comment("设备规格型号")
	 @Column(length=200)
	 private String specificationsModels; // 设备规格型号
	 
	 @Comment("设备出厂日期")
	 @Column(length=200)
	 private Date leaveFactoryData; // 设备出厂日期（生产日期）
	    
	 @Comment("设备启用日期")
	 @Column(length=200)
	 private Date startUsingData; // 设备启用日期（安装日期）
	
	 @Comment("安装地点")
	 @Column(length=200)
	 private String installPlace; //设备地址，安装地点
	
	 @Comment("设备类型")
	 @Column(length=200)
	 private String equipmentType; // 设备类型 
	 
	 @Comment("安装单位")
	 @Column(length=200)
	 private String installationUnit; // 安装单位
	 
	 @Comment("使用单位")
	 @Column(length=200)
	 private String userUnit; // 使用单位
	 
	 @Comment("使用状态")
	 @Column(length=200)
	 private String equmentState; // 使用状态（使用、维修、闲置、报废）
	 
	 @Comment("制造厂家")
	 @Column(length=200)
	 private String zhizaoVender; //制造厂家
	 
	 @Comment("固定资产编号")
	 @Column(length=200)
	 private String gdzcbh; //固定资产编号
	 
	 @Comment("责任班组")
	 @Column(length=200)
	 private String zrbz ; //责任班组；
	 
	 @Comment("责任人")
	 @Column(length=200)
	 private String dutyPerson; //责任人

	public String getEquipmentCode() {
		return equipmentCode;
	}

	public void setEquipmentCode(String equipmentCode) {
		this.equipmentCode = equipmentCode;
	}

	public String getEquipmentName() {
		return equipmentName;
	}

	public void setEquipmentName(String equipmentName) {
		this.equipmentName = equipmentName;
	}

	public String getSpecificationsModels() {
		return specificationsModels;
	}

	public void setSpecificationsModels(String specificationsModels) {
		this.specificationsModels = specificationsModels;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getLeaveFactoryData() {
		return leaveFactoryData;
	}

	public void setLeaveFactoryData(Date leaveFactoryData) {
		this.leaveFactoryData = leaveFactoryData;
	}
	@JSON(format="yyyy-MM-dd")
	public Date getStartUsingData() {
		return startUsingData;
	}

	public void setStartUsingData(Date startUsingData) {
		this.startUsingData = startUsingData;
	}

	public String getInstallPlace() {
		return installPlace;
	}

	public void setInstallPlace(String installPlace) {
		this.installPlace = installPlace;
	}

	public String getEquipmentType() {
		return equipmentType;
	}

	public void setEquipmentType(String equipmentType) {
		this.equipmentType = equipmentType;
	}

	public String getInstallationUnit() {
		return installationUnit;
	}

	public void setInstallationUnit(String installationUnit) {
		this.installationUnit = installationUnit;
	}

	public String getUserUnit() {
		return userUnit;
	}

	public void setUserUnit(String userUnit) {
		this.userUnit = userUnit;
	}

	public String getEqumentState() {
		return equmentState;
	}

	public void setEqumentState(String equmentState) {
		this.equmentState = equmentState;
	}

	public String getZhizaoVender() {
		return zhizaoVender;
	}

	public void setZhizaoVender(String zhizaoVender) {
		this.zhizaoVender = zhizaoVender;
	}

	public String getGdzcbh() {
		return gdzcbh;
	}

	public void setGdzcbh(String gdzcbh) {
		this.gdzcbh = gdzcbh;
	}

	public String getZrbz() {
		return zrbz;
	}

	public void setZrbz(String zrbz) {
		this.zrbz = zrbz;
	}

	public String getDutyPerson() {
		return dutyPerson;
	}

	public void setDutyPerson(String dutyPerson) {
		this.dutyPerson = dutyPerson;
	}
	 
	 
}
